import request from '@/utils/request'
//根据用户Id获取预约列表
export function getAppointmentByUserId(userId) {
  return request({
    url: `/app/Appointment/InfoList/${userId}`,
    method: 'GET'
  });
}
//新增预约
export function addAppointment(data) {
  return request({
    url: '/app/Appointment/addAppointment',
    method: 'post',
	data: data
  });
}